package com.linsir.gen.entity;


import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElementWrapper;
import jakarta.xml.bind.annotation.XmlRootElement;

import java.util.List;

/**
 * @author ：linsir
 * @date ：Created in 2022/10/7 12:31
 * @description：
 * @modified By：
 * @version:
 */
@XmlRootElement(name="category")
public class SysGenCategory extends SysGenDict{

    private List<String> template;
    private List<String> childTableTemplate;
    public static String CATEGORY_REF = "category-ref:";

    @XmlElement(name="template")
    public List<String> getTemplate()
    {
        return this.template;
    }

    public void setTemplate(List<String> template)
    {
        this.template = template;
    }

    @XmlElementWrapper(name="childTable")
    @XmlElement(name="template")
    public List<String> getChildTableTemplate()
    {
        return this.childTableTemplate;
    }

    public void setChildTableTemplate(List<String> childTableTemplate)
    {
        this.childTableTemplate = childTableTemplate;
    }
}
